package cn.com.wangluotongxin.merchants.mapper;

import cn.com.wangluotongxin.merchants.dto.GoodsInfoDto;
import cn.com.wangluotongxin.merchants.model.MerchantsGoodsInfo;
import cn.com.wangluotongxin.merchants.vo.GoodsInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户管理-商品信息 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-06-20
 */
@Mapper
public interface MerchantsGoodsInfoMapper extends BaseMapper<MerchantsGoodsInfo> {

    IPage<GoodsInfoVo> getPage(Page page, @Param("dto") GoodsInfoDto dto);

    GoodsInfoVo detail(@Param("id") Integer id);
}
